<template>
    <div class="menu-box">
      <div class="txt-box" :class="bgColor" style="display: none;">
        <p><img :src="require(`@/assets/img/${icon}.png`)" width="34" height="34" /></p>
        {{ label }}
      </div>
      <div :class="`line ${bgColor}`"></div>
    </div>
  </template>
  
  <script>
  export default {
    name: 'MenuBox',
    props: {
      icon: String,
      label: String,
      bgColor: String
    }
  };
  </script>
  
  <style scoped>
  /* Styles for MenuBox */
  </style>
  